/*
 * Copyright 2020-2025 the original author or authors.
 * You cannot use this file unless authorized by the author.
 */
package org.ipig.data.rdbms.mapper;

/**
 * AbstractRowMapper
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id: AbstractRowMapper.java 3 2020-01-21 09:36:33Z ts <comchnts@163.com> $$
 * @since 1.0
 */
public abstract class AbstractRowMapper<T> implements RowMapperService<T> {
    private Class<T> clazz;

    @Override
    public Class<T> getEntityClass() {
        return clazz;
    }

    /**
     * 用于特殊字段的处理
     *
     * @param t
     */
    public void handleSpecialFields(T t) {
    }
//在这里扩展公用操作 
}
